#include<stdio.h>
int add(int x, int y) {
	return x + y;

}
int sub(int x, int y) {
	return x - y;
}
int mux(int x, int y) {
	return x * y;
}
int dive(int x, int y) {
	return x / y;
}
int process(int (*p)(int ,int) ,int x,int y){
	int ret;
	ret = (*p)(x, y);
	return ret;
}
int main() {
	int num;
	num = process(add, 10, 20);
	printf("num=%d\n",num);

	num = process(mux, 10, 20);
	printf("num=%d\n", num);

	return 0;
}